package com.lz.gmall.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lz.gmall.order.dto.OrderSubmitDTO;
import com.lz.gmall.order.entity.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lz.gmall.order.entity.WareStockMsg;
import com.lz.gmall.order.vo.OrderDetailListVo;

import java.util.List;

/**
 *
 */
public interface OrderInfoService extends IService<OrderInfo> {

    String submitOrder(String tradeNo, OrderSubmitDTO orderSubmitDTO);

    void closeOrder(Long orderId, Long  userId);

    void updateOrderPayedStatus(String msg);

    void updateOrderStatusAfterWare(String msg);

    List<WareStockMsg> orderSplit(Long orderId, String wareSkuMap);

    Page getOrderPageList(Integer pageNum, Integer limit);
}
